<template>
	<div class = "vshow">
		<h3>11 vif command</h3>
		<p>小明的学习评级等级</p>
		<p class = "p1" v-show = "score >= 90">优秀</p>
		<p class = "p2" v-show = "score >= 80 && score < 90">良好</p>
		<p class = "p3" v-show = "score >= 60 && score < 80">合格</p>
		<p class = "p4" v-show = "score < 60">不合格</p>
		
		<p>请输入学生成绩<input type="text" v-model="score"/></p>
	</div>
</template>


<script setup>
	import {ref} from 'vue'
	let score  = ref(98)
</script>



<style scoped>

</style>
